import matplotlib.pyplot as plt

# 示例数据
data = {'Category 1': 10, 'Category 2': 15, 'Category 3': 7, 'Category 4': 22, 'Category 5': 13}

categories = list(data.keys())
values = list(data.values())

plt.bar(categories, values)
plt.xlabel('Categories')
plt.ylabel('Values')
plt.title('Bar Chart of Data')

plt.show()